﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ETL.Common;

namespace ETL.Business.Handlers.SessionHandler
{
    public class GetSessionResuming
    {
        private SessionHelper sessionHelper = null;
        public GetSessionResuming()
        {
            sessionHelper = new SessionHelper();
        }

        public virtual bool Execute()
        {
            var crnt = sessionHelper.GetValue(Constants.SessionVars.Resuming);
            if (string.IsNullOrEmpty(crnt) )
            {
                return false;
            }
            else
            {
                return true;
            }

        }
    }
}
